package com.heima.mapper;

import com.github.pagehelper.Page;
import com.heima.pojo.Type;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface TypeMapper {
    Page<Type> slectType(String name);
    //新增设备
    Boolean addType(Type type);
    //修改设备
    Boolean updateType(Long typeId, Type type);
    //删除设备
    Boolean deleteType(Long typeId);
}
